package com.ruoyi.client.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.client.domain.entity.BlogComment;
import com.ruoyi.client.domain.vo.CommentVo;
import com.ruoyi.client.domain.vo.EchartsVo;

import java.time.LocalDateTime;
import java.util.List;

/**
 * <p>
 * 评论表 服务类
 * </p>
 *
 * @author fz
 * @since 2025-02-27
 */
public interface IBlogCommentService extends IService<BlogComment> {

    CommentVo saveComment(BlogComment comment);

    List<CommentVo> getComment(Long id);

    CommentVo likeComment(BlogComment comment);

    List<EchartsVo> addLikeNum(Long userId, LocalDateTime startOfLastSevenDays, LocalDateTime endOfLastSevenDays);
}
